Skip to content

Conversation

@msukkari
Copy link
Contributor

The built-in secret manager is an artifact of our deprecated cloud offering. It hasn't been supported for a while, and is unneeded tech debt. This PR completely removes the internal secret manager.

Tested the migration path and it works without errors when the Secrets table is empty. Surprisingly, it also seems to work when a secret is present (it just nukes the Secret table).

If you came to this PR because you've tried updating your Sourcebot deployment and are hitting issues with the DB migration, you will need to manually delete the Secret table in your DB. If you're using the internal DB then a clean wipe of your Sourcebot cache and restart should allow the migration to happen automatically. You'll need to switch to passing in secrets through environment variables (see docs for more details).

@coderabbitai
Copy link

coderabbitai bot commented Oct 31, 2025

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch msukkarieh/deprecate_secret_manager

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@brendan-kellam
Copy link
Contributor

image love to see it

Copy link
Contributor

@brendan-kellam brendan-kellam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@msukkari msukkari merged commit fd17871 into main Oct 31, 2025
10 checks passed
@msukkari msukkari deleted the msukkarieh/deprecate_secret_manager branch October 31, 2025 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants